package com.bonc.ioc.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonc.ioc.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


@Mapper
@Component(value = "userMapper")
public interface UserMapper extends BaseMapper<User> {

    List<User> findUserList();

    List<User> findAll();

}
